#pragma once

#include "base/StructType.hpp"


class BasePage {
public:
    std::fstream *mFile;
    std::vector<uint8_t>* mPage;
    PageHead mPageHead;
    FileHeader *mFileHeader;
    std::vector<FieldInfo> *mFieldList;
    std::vector<uint32_t> mSlot;
    Context * mContext;
//    std::unique_ptr<std::vector<uint8_t>> page;
//    std::unique_ptr<FileHeader> fileHeader;
//    std::unique_ptr<std::vector<FieldInfo>> fieldList;
//    std::unique_ptr<std::vector<uint32_t>> slot;



};